﻿using System.Net.Http;

namespace BlogApp.Data.Service
{
    public class HttpResponseBinaryData
    {
        public bool HasResponse
        {
            get { return _httpResponse != null; }

        }

        private HttpResponseMessage _httpResponse;
        public HttpResponseMessage HttpResponse
        {
            get { return _httpResponse; }
            set
            {
                _httpResponse = value;
            }
        }

        public bool HasData
        {
            get { return Bytes != null; }
        }

        public byte[] Bytes { get; set; } 
    }
}